package auth

import "errors"

var (
	// ErrUserNotFound 用户不存在
	ErrUserNotFound = errors.New("user not found")
	// ErrUserAlreadyExists 用户已存在
	ErrUserAlreadyExists = errors.New("user already exists")
	// ErrInvalidPassword 密码错误
	ErrInvalidPassword = errors.New("invalid password")
	// ErrUserDisabled 用户已禁用
	ErrUserDisabled = errors.New("user is disabled")
	// ErrInvalidParentUser 无效的父用户
	ErrInvalidParentUser = errors.New("invalid parent user")
	// ErrMaxLevelReached 已达到最大层级
	ErrMaxLevelReached = errors.New("max level reached")
	// ErrHasChildren 存在子用户
	ErrHasChildren = errors.New("user has children")
)
